#region Usings

using System;
using Castle.ActiveRecord;
using Karma.Framework.Core.Domain;

#endregion

namespace Karma.Framework.Core.Metadata.Mapping
{
    [ActiveRecord("Servicio", Mutable = false)]
    public class Service : DomainObject
    {
        [JoinedKey]
        public override Int64 Id { get; set; }

        [Property(NotNull = true)]
        public string Llave { get; set; }

        [Property(NotNull = true)]
        public string Nombre { get; set; }

        [BelongsTo]
        public Entity Entidad { get; set; }
    }
}